package com.allenkerr.dao;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.allenkerr.common.GenderEnum;
import com.allenkerr.model.Person;

/**
 * @author 小柯
 * @date 2017/12/5
 */
public interface PersonRepository extends JpaRepository<Person, Integer> {

  Person findFirstByUuid(String uuid);

  List<Person> findByGender(GenderEnum gender);

}
